﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<SLIC.Models.EntityModel.Job_ReSubmissions>" %>


<%
        /// <summary>
        /// 
        ///  <title>SLIC</title>
        ///  <description>Print Submission page for view a visit in printing Mode </description>
        ///  <copyRight>Copyright (c) 2011</copyRight>
        ///  <company>IronOne Technologies (Pvt)Ltd</company>
        ///  <createdOn>2011-08-05</createdOn>
        ///  <author></author>
        ///  <modification>
        ///     <modifiedBy></modifiedBy>
        ///      <modifiedDate></modifiedDate>
        ///     <description></description>
        ///  </modification>
        ///
        /// </summary>                                                                                 
    %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Print Submission</title>
    <style type="text/css">
        .txtErrorSmall
        {
            padding-left: 10px;
        }
        
        .normaltdsForm
        {
            width: 200px;
            padding-left: 10px;
        }
    </style>
    <link href="../../../Content/css/print.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        h3
        {
            page-break-before: always;
        }
    </style>
</head>
<body onload="window.print();">
    <%--onload="window.print();window.close();"--%>
    <h2>
        Visit Details of
        <%: Model.JobNo%>
     <font size="4px">  on
        <%: Model.TimeVisited%>
        (<%:Model.CurrentPrintStatus%>)</font> </h2>
    <fieldset>
        <legend><b>Visit Details </b></legend>
        <table border="0" cellspacing="0" cellpadding="0" style="color: #000">
            <tr>
                <td class="normaltdsForm">
                    Submission Category
                </td>
                <td class="colontdsForm">
                    :
                </td>
                <td class="normaltdsForm txtErrorSmall">
                    <%: Model.SubmissionType%>
                </td>
            </tr>
            <tr>
                <td class="normaltdsForm">
                    Comment
                </td>
                <td class="colontdsForm">
                    :
                </td>
                <td class="normaltdsForm txtErrorSmall">
                    <%: Model.Comment%>
                </td>
            </tr>
            <tr>
                <td class="normaltdsForm">
                    Time Visited
                </td>
                <td class="colontdsForm">
                    :
                </td>
                <td class="normaltdsForm txtErrorSmall">
                    <%: String.Format("{0:g}", Model.TimeVisited) %>
                </td>
            </tr>
            <tr>
                <td class="normaltdsForm">
                    Time Submitted
                </td>
                <td class="colontdsForm">
                    :
                </td>
                <td class="normaltdsForm txtErrorSmall">
                    <%: String.Format("{0:g}", Model.TimeSubmited) %>
                </td>
            </tr>
            <tr>
                <td class="normaltdsForm">
                    Visited By
                </td>
                <td class="colontdsForm">
                    :
                </td>
                <td class="normaltdsForm txtErrorSmall">
                    <%: Model.CSR_UserName %>
                </td>
            </tr>
        </table>
    </fieldset>
    <br />
    <fieldset>
        <%Html.RenderPartial("ImageGalleryUC", Model.ImageGalleries); %>
    </fieldset>
    <br />
    <div style="text-align: center;">
        <font color="gray">&copy; Sri Lanka Insuarance Corporation Ltd. All rights reserved.</font></div>
</body>
</html>
